<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>购物兔——返现未收到反馈</title>
<script language="javascript" src="js/common.js"></script>
<script language="javascript">
function isphone( str )
{
	var result = str.match(/^(13|15|16|18)[0-9]{9}$/ );
	if(result==null)
		return false;
	return true;
}

function isemail(str)
{
	var result=str.match(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/);
	if(result == null )
		return false;
	return true;
}

function isnumber(str)
{
	return !isNaN(str);
}

function OnFeedBack()
{
	var alipay = document.getElementById("alipay_id").value;
	var trade_id = document.getElementById("trade_id").value;
	
	if( (!isemail( alipay )) && (!isphone( alipay )) )
	{
		alert( "您输入的支付宝帐号格式不对哦，请确认是支付宝账号，您可能输入的是淘宝账号。" );
		document.getElementById("alipay_id").focus();
		return;
	}
	
	if( trade_id=="" || isnumber(trade_id) == "" )
	{
		alert( "您输入的订单编号不对，请参考：如何获取订单编号。" );
		document.getElementById("trade_id").focus();
		return;
	}
			
	document.getElementById("RegId").submit();
}

function OnMouseOut( obj )
{
	var value = obj.value;
	if( value =="" )
	{
		obj.value = "订单编号是唯一确定一次交易的数字系列";
		obj.style.color = "#CCCCCC";
	}
}

function OnMouseUp( obj )
{
	var value = obj.value;
	if( value =="订单编号是唯一确定一次交易的数字系列" )
	{
		obj.value = "";
		obj.style.color = "#000000";
	}
}

function OnLoadBody()
{
	
	var tb_id = GetUrlParam("tb_id=");
	if( tb_id != "" )
	{
		document.getElementById("alipay_id").value = tb_id;
	}
	
	var hr = GetUrlParam("hr=");
	if( hr != "")
	{
		var strResult = "";
		switch( hr )
		{
			case "1":
				strResult = "反馈成功。";
				alert( strResult );
				external.WebComm_Close( 0 );
			break;
			
			case "0":
				strResult = "反馈失败。";
				alert( strResult );
			break;
		}
	} 
}

</script>
<style type="text/css">
<!--
body,td,th {
	font-size: 13px;
	color: #000;
	font-family: 宋体;
}
body {
	background-color: #FFF;
}

.input_border{
	border:#849CAB 1px solid;
	width:250px;
	color:#000000;
	background-color:#F9FCFF;
	height:14px;
	padding:4px;
	vertical-align:middle;
}

.input_border1{
	border:#849CAB 1px solid;
	width:250px;
	color:#CCCCCC;
	background-color:#F9FCFF;
	height:14px;
	padding:4px;
	vertical-align:middle;
}
.STYLE1 {color: #aaaaaa}
-->
</style></head>

<body scroll="no" onload="OnLoadBody()" style="overflow-x:hidden;overflow-y:hidden;background:url(images/recommend_bg.jpg); background-repeat:repeat-x;">
<form action="feedback_miss_discount.php" method="get" id="RegId">
<table width="680" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center" valign="middle" height="38" colspan="2" style="font-size:32px; font-family:'黑体'">手工申请返现</td>
        </tr>
        <tr>
            <td align="left" colspan="2" height="2" ><hr /></td>
        </tr>
        <tr>
            <td align="left" colspan="2" height="18" style=" font-size:14px; font-weight:700">尊敬的用户：</td>
        </tr>
        <tr>
        	<td colspan="2" height="18">
            	&nbsp;&nbsp;&nbsp;&nbsp;正常情况下，购物兔是在您确认收货后当天就能返现（有手机短信通知），碰到系统繁忙时，可能会延后1~3天。</td>
    </tr>
        <tr>
        	<td colspan="2"  height="18">如果您刚确认收货，请耐心等待2天左右；否则您可以在这里提交申请，很抱歉给您添麻烦了。</td>
    </tr>
    <tr><td height="10px"></td></tr>
		<tr>
                        <td width="237" height="28" align="right" >
                        <strong>支付宝账号：</strong></td>
                        <td width="462" align="left" height="32"><input type="text" name="alipay" id="alipay_id" class="input_border" value="" title="正确的支付宝帐号，才能获取返回现金" tabindex="1">&nbsp;<span style="color:#F00; font-weight:400; font-size:16px">*</span> </td>
          </tr>
                    <tr>
                        <td width="237" height="32" align="right">
                        <strong>订单编号：</strong></td>
                      <td align="left"><input type="text" name="trade_id" id="trade_id" class="input_border1" value="订单编号是唯一确定一次交易的数字系列"
                        tabindex="2" onfocus="javascript:OnMouseUp( this );" onblur="javascript:OnMouseOut(this);"/>
                       <span style="color:#F00; font-weight:400; font-size:16px">*</span>&nbsp;&nbsp;<a href="http://blog.gouwutu.com/?p=140#3" target="_blank">如何获取订单编号?</a></td>
                    </tr>
                        <td width="237" height="32" align="right">
                        <span id="commend_text_id"><strong>备注：</strong></span>                        </td>
                        <td align="left"><textarea name="info" cols="30" rows="4" id="info_id" tabindex="4" style="border:#849CAB 1px solid; color:#000000; background-color:#F9FCFF;"></textarea>
<br>
                        <span style="color:#aaaaaa">这里可以注明购买的件数或其它说明</span></td>
                    </tr>
                    <tr><td height="10px" colspan="2" ></td></tr>
                    <tr>
                      <td align="center" colspan="2"><img src="images/feedback_submit.jpg" width="104" height="36" style="cursor:pointer;" onclick="javascript:OnFeedBack();" id="submit_id"/></td>
          </tr>
</table>
</form>

</body>
</html>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-20984072-1");
pageTracker._trackPageview();
} catch(err) {}</script>